from django.conf.urls.defaults import *
from bibliophile.models import Author

authors = {
    'queryset': Author.objects.all(),
}

urlpatterns = patterns('django.views.generic.list_detail',
    url(r'^author/(?P<slug>[-\w_]+)/$', 'object_detail', authors, name='bibliophile-author'),
)
